
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 网站信息</strong></div>
  <div class="body-content">
      <form class="form-x" method="post" action="<?=site_url('home/updateconfig')?>">
      <?php foreach ($webinfo as $rows): ?>
        <div class="form-group">
        <div class="label">
          <label><?=$rows['cn_name']?>：</label>
        </div>
        <div class="field">
          <input type="text" class="input" name="<?=$rows['en_name']?>" value="<?=$rows['value']?>" />
          <div class="tips"></div>
        </div>
      </div>
        
      <?php endforeach; ?>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</body></html>
<script>
    $(function(){
        
    })
</script>